
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="__PUBLIC__/home/css/base.css" rel="stylesheet" type="text/css"/>
    <link href="__PUBLIC__/home/css/seller_center.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        body { background: #FFF none;}
        .ncsc-order-details{width: 50%;box-sizing: border-box;}
        .ncsc-order-details:last-child{border-right: 0}
        .ncsc-order-details .content dl dd a, .ncsc-order-contnet .daddress-info dd a{float: none;padding-left: 0}
    </style>
    <title>配货单打印</title>
</head>

<body>
<div class="print-layout">
    <div class="print-btn" id="printbtn" title="选择喷墨或激光打印机<br/>根据下列纸张描述进行<br/>设置并打印发货单据"><i></i><a href="javascript:void(0);" onclick="window.print();">打印</a></div>
    <div class="a5-size"></div>
    <dl class="a5-tip">
        <dt>
        <h1>A5</h1>
        <em>Size: 210mm x 148mm</em></dt>
        <dd>当打印设置选择A5纸张、横向打印、无边距时每张A5打印纸可输出1页订单。</dd>
    </dl>
    <div class="a4-size"></div>
    <dl class="a4-tip">
        <dt>
        <h1>A4</h1>
        <em>Size: 210mm x 297mm</em></dt>
        <dd>当打印设置选择A4纸张、竖向打印、无边距时每张A4打印纸可输出2页订单。</dd>
    </dl>
    <div class="print-page">
        <div id="printarea">
            <div class="orderprint">
                <div class="top">
                    <div class="full-title">TPshop商城12323 配货单</div>
                </div>

                <table class="buyer-info">
                    <tr>
                        <td class="w300">收货人：{$orderOne.order_address.uname}</td>
                        <td>电话：{$orderOne.order_address.mobile}</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="3">地址：&nbsp;&nbsp;
                            {$orderOne.order_address.area}&nbsp;&nbsp;{$orderOne.order_address.detail}
                        </td>
                    </tr>
                </table>
                <div class="ncsc-order-info">
                    <div class="ncsc-order-details">
                        <div class="title">发货来源</div>
                        <div class="content">
                            <dl>
                                <dt>店铺名称：</dt>
                                <dd><strong>{$businessOne.business_name}</strong></dd>
                            </dl>
                            <dl>
                                <dt>店铺地址：</dt>
                                <dd>{$businessOne.business_address}</dd>
                            </dl>
                            <dl>
                                <dt>电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：</dt>
                                <dd>{$businessOne.business_tel}</dd>
                            </dl>
                        </div>
                    </div>
                    <div class="ncsc-order-details">
                        <div class="title">订单详情</div>
                        <div class="content">
                            <dl>
                                <dt>下单日期：</dt>
                                <dd>{$orderOne.add_time|date="Y-m-d H:i:s",###}</dd>
                            </dl>
                            <dl>
                                <dt>订单编号：</dt>
                                <dd>{$orderOne.order_sn}</dd>
                            </dl>
                            <dl>
                                <dt>支付方式：</dt>
                                <dd>
                                    <if condition="$orderOne.exchange_type eq 0">
                                        钱
                                        <else/>
                                        七彩币
                                    </if>
                                </dd>
                            </dl>
                            <dl>
                                <dt>配送方式：</dt>
                                <dd>{$orderOne.shipping_name}</dd>
                            </dl>
                            <dl>
                                <dt>&nbsp;</dt>
                                <dd>&nbsp;</dd>
                            </dl>
                        </div>
                    </div>
                </div>
                <table class="order-info" style="margin-top:10px">
                    <thead>
                    <tr>
                        <th class="w40">序号</th>
                        <th class="tl">商品名称</th>
                        <th class="w150 tl">规格属性</th>
                        <th class="w70">单价(元)</th>
                        <th class="w50">数量</th>
                        <th class="w70 tl">小计(元)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <assign name="count" value="0" />
                    <volist name="orderOne['order_Goods']" id="vo" key="k">
                       <if condition="$vo['refund_reason'] eq 0">
                            <tr>
                                <td>{++$count}</td>
                                <td class="tl">{$vo.goods_name}</td>
                                <td class="tl">{$vo.goods_spec}</td>
                                <td >&yen;
                                    <if condition="$orderOne['exchange_type'] eq 0">
                                        {$vo.goods_money}
                                        <else/>
                                        {$vo.goods_sell_price}
                                    </if>
                                </td>
                                <td>{$vo.goods_num}</td>
                                <td class="tl">&yen;
                                    <if condition="$orderOne['exchange_type'] eq 0">
                                        {$vo.money}
                                        <else/>
                                        {$vo.sell_price}
                                    </if>
                                </td>
                            </tr>
                        </if>
                    </volist>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>